<template>
  <h1>Tab组件</h1>
  <TabGroup v-model:selected="x">
    <Tab label="Tab1">内容1</Tab>
    <Tab label="Tab2">内容2</Tab>
    <Tab label="Tab3" disabled>内容3</Tab>
  </TabGroup>
</template>

<script lang='ts'>
import TabGroup from "../lib/TabGroup.vue";
import Tab from "../lib/Tab.vue";
import { ref } from "vue";
export default {
  components: { TabGroup, Tab },
  setup() {
    const x = ref("Tab1");
    return {
      x,
    };
  },
};
</script>

<style lang="scss" scoped>
</style>